package com.wanmait.heatingrepair.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "workers_price")
public class WorkersPrice implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 录入时间
     */
    @TableField(value = "input_time")
    private Timestamp inputTime;

    /**
     * 价格
     */
    @TableField(value = "price")
    private Integer price;

    /**
     * 是否当前价格
     */
    @TableField(value = "is_now_price")
    private Boolean isNowPrice;

    @TableLogic
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_INPUT_TIME = "input_time";

    public static final String COL_PRICE = "price";

    public static final String COL_NOW_PRICE = "is_now_price";

    public static final String COL_ENABLE = "enable";
}